package com.meihua.shellapp.bean;

import com.meihua.shellapp.base.BaseBean;

import java.util.List;

/**
 * Created by ${zhangyuanchao} on 2017/9/29.
 */

public class HomeIndexBean extends BaseBean {


    /**
     * code : 1
     * msg : 成功
     * data : [{"id":"94","product_name":"中意悦享安康重大疾病","product_label":"2","fit_member":null,"product_img":"","premium":"100.00","feilv":{"minage":"0","maxage":"55","insure_period":"终身"}},{"id":"93","product_name":"长城康健人生两全","product_label":"2","fit_member":null,"product_img":"Upload/Product/20170810/598beb7788a2b.jpg","premium":"100.00","feilv":{"minage":"0","maxage":"55","insure_period":"终身"}},{"id":"92","product_name":"同方全球康健一生","product_label":"2","fit_member":null,"product_img":"Upload/Product/20170810/598beb9fbb3ba.jpg","premium":"100.00","feilv":{"minage":"0","maxage":"55","insure_period":"终身"}},{"id":"91","product_name":"天安健康源2号两全","product_label":"2","fit_member":null,"product_img":"Upload/Product/20170810/598bebcc1a1c6.jpg","premium":"100.00","feilv":{"minage":"0","maxage":"55","insure_period":"终身"}},{"id":"90","product_name":"陆家嘴国泰佑安康重大疾病保险","product_label":"1","fit_member":null,"product_img":"Upload/Product/20170810/598beb14d9af1.jpg","premium":"100.00","feilv":{"minage":"0","maxage":"55","insure_period":"终身"}},{"id":"89","product_name":"华夏福两全","product_label":"2","fit_member":null,"product_img":"Upload/Product/20170810/598beaec97121.jpg","premium":"100.00","feilv":{"minage":"0","maxage":"55","insure_period":"终身"}}]
     */

    private List<DataBean> data;


    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 94
         * product_name : 中意悦享安康重大疾病
         * product_label : 2
         * fit_member : null
         * product_img :
         * premium : 100.00
         * feilv : {"minage":"0","maxage":"55","insure_period":"终身"}
         */

        private String id;
        private String product_name;
        private String product_label;
        private String fit_member;
        private String product_img;
        private String premium;
        private FeilvBean feilv;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProduct_name() {
            return product_name;
        }

        public void setProduct_name(String product_name) {
            this.product_name = product_name;
        }

        public String getProduct_label() {
            return product_label;
        }

        public void setProduct_label(String product_label) {
            this.product_label = product_label;
        }

        public String getFit_member() {
            return fit_member;
        }

        public void setFit_member(String fit_member) {
            this.fit_member = fit_member;
        }

        public String getProduct_img() {
            return product_img;
        }

        public void setProduct_img(String product_img) {
            this.product_img = product_img;
        }

        public String getPremium() {
            return premium;
        }

        public void setPremium(String premium) {
            this.premium = premium;
        }

        public FeilvBean getFeilv() {
            return feilv;
        }

        public void setFeilv(FeilvBean feilv) {
            this.feilv = feilv;
        }

        public static class FeilvBean {
            /**
             * minage : 0
             * maxage : 55
             * insure_period : 终身
             */

            private String minage;
            private String maxage;
            private String insure_period;

            public FeilvBean(String minage, String maxage, String insure_period) {
                this.minage = minage;
                this.maxage = maxage;
                this.insure_period = insure_period;
            }

            public String getMinage() {
                return minage;
            }

            public void setMinage(String minage) {
                this.minage = minage;
            }

            public String getMaxage() {
                return maxage;
            }

            public void setMaxage(String maxage) {
                this.maxage = maxage;
            }

            public String getInsure_period() {
                return insure_period;
            }

            public void setInsure_period(String insure_period) {
                this.insure_period = insure_period;
            }
        }
    }
}
